package com.example.room.feign;


import com.example.core.config.FeignConfig;
import com.example.model.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-room-type" ,configuration = FeignConfig.class)
public interface RoomTypeFeignClient {

    @GetMapping("roomType/{id}")
    public Result get(@PathVariable("id") Long id);

}
